#include "GDynamicLibrary.h"

namespace GEngine
{
	GDynamicLibrary::GDynamicLibrary()
	{
		Handle = NULL;
	}

	GDynamicLibrary::~GDynamicLibrary()
	{
		Unload();
	}

	void* GDynamicLibrary::GetHandle() const
	{
		return Handle;
	}

	const char*	GDynamicLibrary::GetFileName() const
	{
		return FileName.c_str();
	}

	void GDynamicLibrary::Destroy()
	{
		delete this;
	}
}